﻿@model Webshop.Models.Product

@{
    ViewBag.Title = "Részletek";
}

<h2>Részletek</h2>

<p>
    @Html.ActionLink("Szerkesztés", "Edit", new { id=Model.ProductId })
</p>

<fieldset>
    <legend>Termék</legend>

    <div class="display-label"><strong>Kategória</strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Category.Name)
    </div>

    <div class="display-label"><strong>Név</strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label"><strong>Ár</strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price) Ft
    </div>

    <div class="display-label"><strong>Darabszám</strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Unit)
    </div>

    <div class="display-label"><strong>Url</strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Url)
    </div>

</fieldset>
<p>
    @Html.ActionLink("Vissza a listához", "Index")
</p>
